package _SED.client;

import java.io.Serializable;
import java.util.Date;
public class Rfc implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long id;
    private Date validFrom, approvedOn, solvedOn, closedOn, delegatedOn, startedOn;
    private String reason, desc, detailDesc, CI, CO, CA, CD, prio,
    		       cost, benefit, risk, serv, cItem, state;

    public Rfc(){}
    
    public Rfc(long id,  String reason, String desc, String detailDesc,
    		   Date validFrom, Date approvedOn, Date solvedOn, Date closedOn, Date delegatedOn, Date startedOn,
    		   String CI, String CO, String CA, String CD, String prio, String cost, 
    		   String benefit, String risk, String serv, String cItem, String state) {
      this.id = id;
      this.validFrom = validFrom;
      this.approvedOn =  approvedOn;
      this.solvedOn = solvedOn;
      this.closedOn = closedOn;
      this.delegatedOn = delegatedOn;
      this.startedOn = startedOn;
      this.reason = reason;
      this.desc = desc;
      this.detailDesc	= detailDesc;
      this.CI	= CI;
      this.CO = CO;
      this.CA = CA;
      this.CD = CD;
      this.prio = prio;
      this.cost = cost;
      this.benefit = benefit;
      this.risk = risk;
      this.serv = serv;
      this.cItem = cItem;
      this.state = state;
    }

	public long getId() {
		return id;
	}
	
	public String getIdStr(){
		String a = ""+this.id;
		return a;
	}
	
	public int getIdInt(){
		int a;
		a = (int) getId();
		return a;
	}

	public Date getValidFrom() {
		return validFrom;
	}

	public String getDesc() {
		return desc;
	}

	public Date getApprovedOn() {
		return approvedOn;
	}

	public void setApprovedOn(Date approvedOn) {
		this.approvedOn = approvedOn;
	}

	public Date getDelegatedOn() {
		return delegatedOn;
	}

	public void setDelegatedOn(Date delegatedOn) {
		this.delegatedOn = delegatedOn;
	}
	
	public Date getSolvedOn() {
		return solvedOn;
	}

	public void setSolvedOn(Date solvedOn) {
		this.solvedOn = solvedOn;
	}

	public Date getClosedOn() {
		return closedOn;
	}

	public void setClosedOn(Date closedOn) {
		this.closedOn = closedOn;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getDetailDesc() {
		return detailDesc;
	}

	public void setDetailDesc(String detailDesc) {
		this.detailDesc = detailDesc;
	}

	public String getCI() {
		return CI;
	}

	public void setCI(String cI) {
		CI = cI;
	}

	public String getCO() {
		return CO;
	}

	public void setCO(String cO) {
		CO = cO;
	}

	public String getCD() {
		return CD;
	}

	public void setCD(String cd) {
		CD = cd;
	}
	
	
	public String getCA() {
		return CA;
	}

	public void setCA(String cA) {
		CA = cA;
	}

	public String getPrio() {
		return prio;
	}

	public void setPrio(String prio) {
		this.prio = prio;
	}

	public String getCost() {
		return cost;
	}

	public void setCost(String cost) {
		this.cost = cost;
	}

	public String getBenefit() {
		return benefit;
	}

	public void setBenefit(String benefit) {
		this.benefit = benefit;
	}

	public String getRisk() {
		return risk;
	}

	public void setRisk(String risk) {
		this.risk = risk;
	}

	public String getServ() {
		return serv;
	}

	public void setServ(String serv) {
		this.serv = serv;
	}

	public String getcItem() {
		return cItem;
	}

	public void setcItem(String cItem) {
		this.cItem = cItem;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setValidFrom(Date validFrom) {
		this.validFrom = validFrom;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Date getStartedOn() {
		return startedOn;
	}

	public void setStartedOn(Date startedOn) {
		this.startedOn = startedOn;
	}

	
	
	
  }